//
//  DYHomeProxy.m
//  Pods
//
//  Created by LXF on 16/7/1.
//
//

#import "DYHomeProxy.h"
#import "DYNetworkDelegate.h"
#import "DYAPI.h"

@implementation DYHomeProxy

proxyImplementation(DYHome)

+(void)loadMyHomeListSuccess:(void (^)(NSURLSessionDataTask *, id, id))success dataerr:(void (^)(NSURLSessionDataTask *, id, XXError *))dataerr failure:(void (^)(NSURLSessionDataTask *, NSError *))failure{
    DYNetworkDelegate *delegate = [[DYNetworkDelegate alloc]init];
    
    [delegate autoToAnyList:self keyPath:@"data.homeList"];
    
    [[DYAPI shared] doTaskUrlInfo:[DYURLSet shared].mylist parameters:nil netdelegate:delegate success:success dataerr:dataerr failure:failure];
}

@end
